package com.example.jobback.mapper;

import com.example.jobback.po.City;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @InterfaceName: CityMapper
 * @Description:城市mapper
 * @Author: lhb
 * @Date: 2025/7/5
 */
@Mapper
public interface CityMapper {
    List<City> getCitiesByProvinceId(@Param("provinceId") Long provinceId);

    City getCityByCityName(@Param("cityName") String cityName);
}
